﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserList.aspx.cs" Inherits="admin_UserList" MasterPageFile="~/admin/MasterPage2.master"  culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" runat="server" contentplaceholderid="ContentPlaceHolder1">

    <table cellpadding="0" cellspacing="0" class="letraAzul">
            <tr>
                <td><asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager></td>
            </tr>
            <tr>
                <td bgcolor="#FA7E02" class="letracuadroscolores" valign="top"><asp:Panel ID="PTitle" runat="server">
                    User Information</asp:Panel></td>
            </tr>
            
            <tr valign="top">
                <td valign="top"  bgcolor="#ffffff" style="margin-left: 200px">
                    <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" 
                        Width="1110px" meta:resourcekey="TabContainer1Resource1" >

                        <asp:TabPanel runat="server" HeaderText="Employee" ID="TabPanel1" Width="150px" meta:resourcekey="TabPanel1Resource1" >

                            <HeaderTemplate>Employee</HeaderTemplate>

                            <ContentTemplate><table cellpadding="0" cellspacing="0" class="letraAzul">
                                    <tr>    
                                        <td bgcolor="White" width="100%"><asp:GridView ID="gvuser" runat="server" 
                                                AllowPaging="True" BackColor="White" 
                                                CssClass="letraNegra" ShowFooter="True" Width="100%" Font-Names="Arial Narrow" 
                                                GridLines="None" PageSize="50" AllowSorting="True" 
                                                onrowdatabound="gvuser_RowDataBound" 
                                                onpageindexchanging="gvuser_PageIndexChanging" ><EmptyDataRowStyle BorderStyle="None" Font-Names="Arial Narrow" Font-Size="Medium" ForeColor="#FF3300" HorizontalAlign="Left" /><Columns><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink1"  runat="server" NavigateUrl='<%#"~/admin/Profile_.aspx?id=" + Eval("User") %>' Text="Profile"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink2"  runat="server" NavigateUrl='<%#"~/admin/Permit.aspx?id=" + Eval("User") %>' Text="Setup"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField></Columns><PagerStyle BorderStyle="None" HorizontalAlign="Center" VerticalAlign="Middle" /><HeaderStyle BackColor="#9AC9F8"  ForeColor="#3270B2" CssClass="letraAzul" BorderStyle="None" Height="21px" /><EditRowStyle Font-Underline="True" BorderStyle="None" BorderWidth="0px" /><AlternatingRowStyle BackColor="#E7F1FE" BorderStyle="None" /><RowStyle Height="22px" /></asp:GridView></td></tr></table></ContentTemplate>

                        </asp:TabPanel>


                        <asp:TabPanel runat="server" HeaderText="Client" ID="TabPanel2" Width="150px" meta:resourcekey="TabPanel1Resource1">

                            <HeaderTemplate>Client</HeaderTemplate>

                            <ContentTemplate><table cellpadding="0" cellspacing="0" class="letraAzul">
                                    <tr>
                                        <td bgcolor="White" width="100%" valign="top"><asp:GridView ID="gvclient" 
                                                runat="server" AllowPaging="True" BackColor="White" 
                                                CssClass="letraNegra" ShowFooter="True" Width="100%" Font-Names="Arial Narrow" 
                                                GridLines="None" PageSize="50" AllowSorting="True" 
                                                onrowdatabound="gvuser_RowDataBound"><AlternatingRowStyle BackColor="#E7F1FE" BorderStyle="None" /><Columns><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink1"  runat="server" NavigateUrl='<%#"~/admin/Profile_.aspx?id=" + Eval("User") %>' Text="Profile"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink2"  runat="server" NavigateUrl='<%#"~/admin/Permit.aspx?id=" + Eval("User") %>' Text="Setup"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField></Columns><EditRowStyle Font-Underline="True" BorderStyle="None" BorderWidth="0px" /><EmptyDataRowStyle BorderStyle="None" Font-Names="Arial Narrow" Font-Size="Medium" ForeColor="#FF3300" HorizontalAlign="Left" /><HeaderStyle BackColor="#9AC9F8"  ForeColor="#3270B2" CssClass="letraAzul" BorderStyle="None" Height="21px" /><PagerStyle BorderStyle="None" HorizontalAlign="Center" VerticalAlign="Middle" /><RowStyle Height="22px"/></asp:GridView></td></tr></table></ContentTemplate>
                        </asp:TabPanel>

                        <asp:TabPanel runat="server" HeaderText="Vendor" ID="TabPanel3" Width="150px" meta:resourcekey="TabPanel1Resource1">
                            <HeaderTemplate>Vendor</HeaderTemplate>
                            <ContentTemplate>
                                <table cellpadding="0" cellspacing="0" class="letraAzul">
                                    <tr>
                                        <td bgcolor="#ffffff" width="100%" valign="top">
                                            <asp:GridView ID="gvvendor" runat="server" AllowPaging="True" BackColor="White" 
                                                CssClass="letraNegra" ShowFooter="True" Width="100%" Font-Names="Arial Narrow"
                                                GridLines="None" PageSize="50" Height="400px" AllowSorting="True" 
                                                valign="top" OnPageIndexChanging="gvvendor_PageIndexChanging1" 
                                                onrowdatabound="gvvendor_RowDataBound"><EmptyDataRowStyle BorderStyle="None" Font-Names="Arial Narrow" Font-Size="Medium" ForeColor="#FF3300" HorizontalAlign="Left" /><Columns><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink1"  runat="server" NavigateUrl='<%#"~/admin/Profile_.aspx?id=" + Eval("User") %>' Text="Profile"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink2"  runat="server" NavigateUrl='<%#"~/admin/Permit.aspx?id=" + Eval("User") %>' Text="Setup"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField></Columns><PagerStyle BorderStyle="None" HorizontalAlign="Center" VerticalAlign="Top" /><HeaderStyle BackColor="#9AC9F8"  ForeColor="#3270B2" CssClass="letraAzul" BorderStyle="None" Height="21px" /><EditRowStyle Font-Underline="True" BorderStyle="None" BorderWidth="0px" /><AlternatingRowStyle BackColor="#E7F1FE" BorderStyle="None" /><RowStyle Height="22px" /></asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:TabPanel>

                        <asp:TabPanel runat="server" HeaderText="Guest" ID="TabPanel4" Width="150px" meta:resourcekey="TabPanel1Resource1">
                            <HeaderTemplate>Pending</HeaderTemplate>
                            <ContentTemplate>
                                <table cellpadding="0" cellspacing="0" class="letraAzul">
                                    <tr>
                                        <td bgcolor="#ffffff" width="100%" valign="top">
                                            <asp:GridView ID="gvguest" runat="server" AllowPaging="True" BackColor="White" 
                                                CssClass="letraNegra" ShowFooter="True" Width="100%" Font-Names="Arial Narrow"
                                                GridLines="None" PageSize="50" Height="400px" AllowSorting="True" onrowdatabound="gvuser_RowDataBound"
                                                valign="top" onpageindexchanging="gvguest_PageIndexChanging"><EmptyDataRowStyle BorderStyle="None" Font-Names="Arial Narrow" Font-Size="Medium" ForeColor="#FF3300" HorizontalAlign="Left" /><Columns><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink1"  runat="server" NavigateUrl='<%#"~/admin/Profile_.aspx?id=" + Eval("User") %>' Text="Profile"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink2"  runat="server" NavigateUrl='<%#"~/admin/Permit.aspx?id=" + Eval("User") %>' Text="Setup"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField></Columns><PagerStyle BorderStyle="None" HorizontalAlign="Center" VerticalAlign="Top" /><HeaderStyle BackColor="#9AC9F8"  ForeColor="#3270B2" CssClass="letraAzul" BorderStyle="None" Height="21px" /><EditRowStyle Font-Underline="True" BorderStyle="None" BorderWidth="0px" /><AlternatingRowStyle BackColor="#E7F1FE" BorderStyle="None" /><RowStyle Height="22px" /></asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:TabPanel>

                        <asp:TabPanel ID="TabPanel5" runat="server" HeaderText="Inactive">
                         <HeaderTemplate>Inactive</HeaderTemplate>
                            <ContentTemplate>
                                <table cellpadding="0" cellspacing="0" class="letraAzul">
                                    <tr>
                                        <td bgcolor="#ffffff" width="100%" valign="top">
                                            <asp:GridView ID="gv_inactive" runat="server" AllowPaging="True" BackColor="White" 
                                                CssClass="letraNegra" ShowFooter="True" Width="100%" Font-Names="Arial Narrow"
                                                GridLines="None" PageSize="50" Height="400px" AllowSorting="True" onrowdatabound="gv_inactive_RowDataBound"
                                                valign="top" onpageindexchanging="gv_inactive_PageIndexChanging" 
                                                onselectedindexchanging="gv_inactive_SelectedIndexChanging"><EmptyDataRowStyle BorderStyle="None" Font-Names="Arial Narrow" Font-Size="Medium" ForeColor="#FF3300" HorizontalAlign="Left" /><Columns><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink1"  runat="server" NavigateUrl='<%#"~/admin/Profile_.aspx?id=" + Eval("User") %>' Text="Profile"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField><asp:TemplateField><ItemTemplate><asp:HyperLink ID="HyperLink2"  runat="server" NavigateUrl='<%#"~/admin/Permit.aspx?id=" + Eval("User") %>' Text="Setup"></asp:HyperLink></ItemTemplate><ItemStyle ForeColor="Black"  /></asp:TemplateField></Columns><PagerStyle BorderStyle="None" HorizontalAlign="Center" VerticalAlign="Top" /><HeaderStyle BackColor="#9AC9F8"  ForeColor="#3270B2" CssClass="letraAzul" BorderStyle="None" Height="21px" /><EditRowStyle Font-Underline="True" BorderStyle="None" BorderWidth="0px" /><AlternatingRowStyle BackColor="#E7F1FE" BorderStyle="None" /><RowStyle Height="22px" /></asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:TabPanel>

                    </asp:TabContainer>
                </td>
            </tr>
            
            <tr>
                <td bgcolor="#FA7E02" align="right"></td>
            </tr>
    </table>

</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .letraAzul
        {
            height: 479px;
            width: 1100px;
        }
    </style>
</asp:Content>
